<?=$header?>
<script src="<?=base_url();?>system/tiny_mce/tiny_mce.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	plugins : "advimage,advlink,contextmenu,directionality,nonbreaking,paste,table,visualchars,xhtmlxtras",
	theme_advanced_buttons1 : "cut,copy,paste,pastetext,pasteword,|,undo,redo,|,help,code",
	theme_advanced_buttons2 : "formatselect,fontselect,fontsizeselect,|,bullist,numlist,|,link,unlink,anchor,image,cleanup,|,forecolor,backcolor",
	theme_advanced_buttons3 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,hr,removeformat,|,sub,sup,|,charmap,tablecontrols",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_path_location : "bottom",
	extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
	content_css: "<?=base_url();?>system/tiny_mce/style.css"
});
</script>

<p>
<div style="width:615px;">
<? 
echo form_open('manage/create2');
echo '<h2>Title</h2><br />';
//echo form_input('title', '');
echo '<input type="text" name="title" value="" maxlength="500" size="50" style="width:600px;" />';
echo '<br /><br />';
echo '<h2>Content</h2><br />';
echo '<textarea name="content" cols="90" rows="20"></textarea><br />';
echo form_submit('submit', 'Add Page');
echo '<input type="button" value="Cancel" onclick="javascript:window.location = \''.base_url().'manage\'" />';
echo form_close();
?>
</div>
</p>

<?=$footer?>

</body>
</html>